package edu.cuit.avatar.decorator;

import java.util.Scanner;

/**
 * 具体构件角色--抽象构件的基础实现
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/12 14:34
 */
public class BasicMessageBoard implements MessageBoard{
    private Scanner input= new Scanner(System.in);
    @Override
    public String message() {
        System.out.println("请留言:");
        //中间省略1w行代码
        String message = input.nextLine();
        return message;
    }
}
